//
//  PinInput_II.h
//  arq
//
//  Created by xiao wen on 15/1/14.
//  Copyright (c) 2015年 witsi. All rights reserved.
//
#ifndef ARQ_PININPUT_II_H
#define ARQ_PININPUT_II_H

#include "DataType.h"

class PinInput_II
{
private:
    int mX = 0x00;
    
    int mY = 0x00;
    
    int mType = 0x00;
    
    // wait timeout
    int mTimeout = 60;
    
    // Algorithm identifier
    byte mLimitLen = 0x0c;
    
    byte mPanLen = 0x00;
    
    string mPan;
    
    
public:
    void setX(int x);
    void setY(int y);
    void setType(int type);
    void setTimeOutS(int s);
    int getTimeOutS();
    int setLimitLen(byte len);
    void setPan(string pan);
    int outParam(byte * out, int pos);
    
};

#endif

